    <ul class="bg-nav-line">
        <li>
            <a href="#send">发送短信</a>
        </li>
        <li>
            <a href="#check">检查未读短信</a>
        </li>
        <li>
            <a href="#list">列出短信</a>
        </li>
        <li>
            <a href="#read">读取短信</a>
        </li>
        <li>
            <a href="#status">更改短信状态</a>
        </li>
        <li>
            <a href="#revoke">撤回短信</a>
        </li>
        <li>
            <a href="#del">删除短信</a>
        </li>
    </ul>

    <div>&nbsp;</div>

    <h3>公共请求参数</h3>
    <p>公共请求参数是指向所有接口发起请求时都必须传入的参数。</p>
    <div class="panel panel-default">
        <div class="panel-heading">公共请求参数</div>
        <div class="table-responsive">
            <table class="table table-bordered">
                <thead>
                    <tr>
                        <th class="text-nowrap">名称</th>
                        <th class="text-nowrap">类型</th>
                        <th class="text-nowrap">必须</th>
                        <th>描述</th>
                    </tr>
                </thead>
                <tbody>
                    <tr>
                        <td class="text-nowrap">app_id</td>
                        <td class="text-nowrap">int</td>
                        <td class="text-nowrap">true</td>
                        <td>应用的 APP ID，后台创建应用时生成的 ID。详情查看 <a href="{BG_URL_HELP}index.php?mod=console&act=app#show">应用</a>。</td>
                    </tr>
                    <tr>
                        <td class="text-nowrap">app_key</td>
                        <td class="text-nowrap">string</td>
                        <td class="text-nowrap">true</td>
                        <td>应用的 APP KEY，后台创建应用时生成的 KEY。详情查看 <a href="{BG_URL_HELP}index.php?mod=console&act=app#show">应用</a>。</td>
                    </tr>
                    <tr>
                        <td class="text-nowrap">time</td>
                        <td class="text-nowrap">int</td>
                        <td class="text-nowrap">true</td>
                        <td>Unix 时间戳，baigo SSO 允许 +-30 分钟以内的时差，为了防止时区设置不同导致的时差，请开发者将应用的时区设置为为与 baigo SSO 一致，关于时区设置，请查看 <a href="{BG_URL_HELP}index.php?mod=console&act=opt#base">系统设置</a>。</td>
                    </tr>
                    <tr>
                        <td class="text-nowrap">signature</td>
                        <td class="text-nowrap">string</td>
                        <td class="text-nowrap">true</td>
                        <td>签名，将请求参数中的所有参数（包括公共请求参数，但不含签名）按照一定规律组合以后生成的，详情请查看 <a href="{BG_URL_HELP}index.php?mod=api&act=signature#verify">签名接口</a>。</td>
                    </tr>
                </tbody>
            </table>
        </div>
    </div>

    <div>&nbsp;</div>
    <div class="text-right">
        <a href="#top">
            <span class="glyphicon glyphicon-chevron-up"></span>
            top
        </a>
    </div>
    <hr>
    <div>&nbsp;</div>

    <a name="send"></a>
    <h3>发送短信</h3>

    <p class="text-success">接口说明</p>
    <p>本接口用于向指定用户发送站内短信。</p>

    <p class="text-success">URL</p>
    <p class="text-primary">http://www.domain.com/api/api.php?mod=pm</p>

    <p class="text-success">HTTP 请求方式</p>
    <p>POST</p>

    <p class="text-success">返回格式</p>
    <p>JSON</p>

    <p class="text-success">返回结果是否加密</p>
    <p>是</p>

    <div class="panel panel-default">
        <div class="panel-heading">请求参数</div>
        <div class="table-responsive">
            <table class="table table-bordered">
                <thead>
                    <tr>
                        <th class="text-nowrap">名称</th>
                        <th class="text-nowrap">类型</th>
                        <th class="text-nowrap">必须</th>
                        <th>描述</th>
                    </tr>
                </thead>
                <tbody>
                    <tr>
                        <td class="text-nowrap">act</td>
                        <td class="text-nowrap">string</td>
                        <td class="text-nowrap">true</td>
                        <td>接口调用动作，值只能为 send。</td>
                    </tr>
                    <tr>
                        <td class="text-nowrap">user_id</td>
                        <td class="text-nowrap">int</td>
                        <td rowspan="3">true</td>
                        <td rowspan="3">
                            <p>三选一，优先级为 user_id &gt; user_name &gt; user_mail（作为发送者）</p>
                            <p>其中是否允许邮箱登录，视注册设置情况而定。详情查看 <a href="{BG_URL_HELP}index.php?mod=console&act=opt#reg">注册设置</a>。</p>
                        </td>
                    </tr>
                    <tr>
                        <td class="text-nowrap">user_name</td>
                        <td class="text-nowrap">string</td>
                    </tr>
                    <tr>
                        <td class="text-nowrap">user_mail</td>
                        <td class="text-nowrap">string</td>
                    </tr>
                    <tr>
                        <td class="text-nowrap">user_access_token</td>
                        <td class="text-nowrap">string</td>
                        <td class="text-nowrap">true</td>
                        <td>访问口令，必须用 <mark>MD5</mark> 加密后传输。</td>
                    </tr>
                    <tr>
                        <td class="text-nowrap">pm_to</td>
                        <td class="text-nowrap">string</td>
                        <td class="text-nowrap">true</td>
                        <td>接收者用户名，多个接收者请用 <kbd>|</kbd> 分隔。</td>
                    </tr>
                    <tr>
                        <td class="text-nowrap">pm_title</td>
                        <td class="text-nowrap">string</td>
                        <td class="text-nowrap">false</td>
                        <td>短信标题</td>
                    </tr>
                    <tr>
                        <td class="text-nowrap">pm_content</td>
                        <td class="text-nowrap">string</td>
                        <td class="text-nowrap">true</td>
                        <td>短信内容</td>
                    </tr>
                </tbody>
            </table>
        </div>
    </div>

    <div>&nbsp;</div>

    <p>
        本接口返回加密字符串，真正内容需要调用密文接口进行解密。详情查看 <a href="{BG_URL_HELP}index.php?mod=api&act=code#decode">密文接口</a>。
    </p>

    <div class="panel panel-default">
        <div class="panel-heading">返回结果</div>
        <div class="table-responsive">
            <table class="table table-bordered">
                <thead>
                    <tr>
                        <th class="text-nowrap">名称</th>
                        <th class="text-nowrap">类型</th>
                        <th>描述</th>
                    </tr>
                </thead>
                <tbody>
                    <tr>
                        <td class="text-nowrap">rcode</td>
                        <td class="text-nowrap">string</td>
                        <td>返回代码，详情查看 <a href="{BG_URL_HELP}index.php?mod=api&act=rcode">返回代码</a>。</td>
                    </tr>
                    <tr>
                        <td class="text-nowrap">code</td>
                        <td class="text-nowrap">string</td>
                        <td>加密字符串，需要解密。详情查看 <a href="{BG_URL_HELP}index.php?mod=api&act=code#decode">密文接口</a>。</td>
                    </tr>
                    <tr>
                        <td class="text-nowrap">prd_sso_ver</td>
                        <td class="text-nowrap">string</td>
                        <td>baigo SSO 版本号。</td>
                    </tr>
                    <tr>
                        <td class="text-nowrap">prd_sso_pub</td>
                        <td class="text-nowrap">string</td>
                        <td>baigo SSO 版本发布时间，格式为年月日。</td>
                    </tr>
                </tbody>
            </table>
        </div>
    </div>

    <div>&nbsp;</div>

    <div class="panel panel-default">
        <div class="panel-heading">解密后的结果</div>
        <div class="table-responsive">
            <table class="table table-bordered">
                <thead>
                    <tr>
                        <th class="text-nowrap">名称</th>
                        <th class="text-nowrap">Base64</th>
                        <th class="text-nowrap">类型</th>
                        <th>描述</th>
                    </tr>
                </thead>
                <tbody>
                    <tr>
                        <td class="text-nowrap">pm_id</td>
                        <td class="text-nowrap">true</td>
                        <td class="text-nowrap">int</td>
                        <td>短信 ID</td>
                    </tr>
                    <tr>
                        <td class="text-nowrap">pm_to</td>
                        <td class="text-nowrap">true</td>
                        <td class="text-nowrap">int</td>
                        <td>接收者用户 ID</td>
                    </tr>
                </tbody>
            </table>
        </div>
    </div>

    <div>&nbsp;</div>

    <h4>返回结果示例</h4>
    <p>
<pre><code class="language-javascript">{
    &quot;pm_id&quot;: &quot;MTA=&quot; //短信 ID
}</code></pre>
    </p>

    <div>&nbsp;</div>
    <div class="text-right">
        <a href="#top">
            <span class="glyphicon glyphicon-chevron-up"></span>
            top
        </a>
    </div>
    <hr>
    <div>&nbsp;</div>

    <a name="check"></a>
    <h3>检查未读短信</h3>

    <p class="text-success">接口说明</p>
    <p>本接口用于检查是否有未读短信</p>

    <p class="text-success">URL</p>
    <p class="text-primary">http://www.domain.com/api/api.php?mod=pm</p>

    <p class="text-success">HTTP 请求方式</p>
    <p>GET</p>

    <p class="text-success">返回格式</p>
    <p>JSON</p>

    <p class="text-success">返回结果是否加密</p>
    <p>否</p>

    <div class="panel panel-default">
        <div class="panel-heading">请求参数</div>
        <div class="table-responsive">
            <table class="table table-bordered">
                <thead>
                    <tr>
                        <th class="text-nowrap">名称</th>
                        <th class="text-nowrap">类型</th>
                        <th class="text-nowrap">必须</th>
                        <th>描述</th>
                    </tr>
                </thead>
                <tbody>
                    <tr>
                        <td class="text-nowrap">act</td>
                        <td class="text-nowrap">string</td>
                        <td class="text-nowrap">true</td>
                        <td>接口调用动作，值只能为 check。</td>
                    </tr>
                    <tr>
                        <td class="text-nowrap">user_id</td>
                        <td class="text-nowrap">int</td>
                        <td rowspan="3">true</td>
                        <td rowspan="3">
                            <p>三选一，优先级为 user_id &gt; user_name &gt; user_mail（作为接收者）</p>
                            <p>其中是否允许邮箱登录，视注册设置情况而定。详情查看 <a href="{BG_URL_HELP}index.php?mod=console&act=opt#reg">注册设置</a>。</p>
                        </td>
                    </tr>
                    <tr>
                        <td class="text-nowrap">user_name</td>
                        <td class="text-nowrap">string</td>
                    </tr>
                    <tr>
                        <td class="text-nowrap">user_mail</td>
                        <td class="text-nowrap">string</td>
                    </tr>
                    <tr>
                        <td class="text-nowrap">user_access_token</td>
                        <td class="text-nowrap">string</td>
                        <td class="text-nowrap">true</td>
                        <td>访问口令，必须用 <mark>MD5</mark> 加密后传输。</td>
                    </tr>
                </tbody>
            </table>
        </div>
    </div>

    <div>&nbsp;</div>

    <div class="panel panel-default">
        <div class="panel-heading">返回结果</div>
        <div class="table-responsive">
            <table class="table table-bordered">
                <thead>
                    <tr>
                        <th class="text-nowrap">名称</th>
                        <th class="text-nowrap">类型</th>
                        <th>描述</th>
                    </tr>
                </thead>
                <tbody>
                    <tr>
                        <td class="text-nowrap">rcode</td>
                        <td class="text-nowrap">string</td>
                        <td>返回代码，详情查看 <a href="{BG_URL_HELP}index.php?mod=api&act=rcode">返回代码</a>。</td>
                    </tr>
                    <tr>
                        <td class="text-nowrap">pm_count</td>
                        <td class="text-nowrap">int</td>
                        <td>未读短信数</td>
                    </tr>
                    <tr>
                        <td class="text-nowrap">prd_sso_ver</td>
                        <td class="text-nowrap">string</td>
                        <td>baigo SSO 版本号。</td>
                    </tr>
                    <tr>
                        <td class="text-nowrap">prd_sso_pub</td>
                        <td class="text-nowrap">string</td>
                        <td>baigo SSO 版本发布时间，格式为年月日。</td>
                    </tr>
                </tbody>
            </table>
        </div>
    </div>

    <div>&nbsp;</div>

    <h4>返回结果示例</h4>
    <p>
<pre><code class="language-javascript">{
    &quot;pm_count&quot;: &quot;MTA=&quot; //未读短信数
}</code></pre>
    </p>

    <div>&nbsp;</div>
    <div class="text-right">
        <a href="#top">
            <span class="glyphicon glyphicon-chevron-up"></span>
            top
        </a>
    </div>
    <hr>
    <div>&nbsp;</div>

    <a name="list"></a>
    <h3>列出短信</h3>

    <p class="text-success">接口说明</p>
    <p>本接口用于列出当前用户的所有短信。</p>

    <p class="text-success">URL</p>
    <p class="text-primary">http://www.domain.com/api/api.php?mod=pm</p>

    <p class="text-success">HTTP 请求方式</p>
    <p>GET</p>

    <p class="text-success">返回格式</p>
    <p>JSON</p>

    <p class="text-success">返回结果是否加密</p>
    <p>是</p>

    <div class="panel panel-default">
        <div class="panel-heading">请求参数</div>
        <div class="table-responsive">
            <table class="table table-bordered">
                <thead>
                    <tr>
                        <th class="text-nowrap">名称</th>
                        <th class="text-nowrap">类型</th>
                        <th class="text-nowrap">必须</th>
                        <th>描述</th>
                    </tr>
                </thead>
                <tbody>
                    <tr>
                        <td class="text-nowrap">act</td>
                        <td class="text-nowrap">string</td>
                        <td class="text-nowrap">true</td>
                        <td>接口调用动作，值只能为 list。</td>
                    </tr>
                    <tr>
                        <td class="text-nowrap">user_id</td>
                        <td class="text-nowrap">int</td>
                        <td rowspan="3">true</td>
                        <td rowspan="3">
                            <p>三选一，优先级为 user_id &gt; user_name &gt; user_mail（作为接收者）</p>
                            <p>其中是否允许邮箱登录，视注册设置情况而定。详情查看 <a href="{BG_URL_HELP}index.php?mod=console&act=opt#reg">注册设置</a>。</p>
                        </td>
                    </tr>
                    <tr>
                        <td class="text-nowrap">user_name</td>
                        <td class="text-nowrap">string</td>
                    </tr>
                    <tr>
                        <td class="text-nowrap">user_mail</td>
                        <td class="text-nowrap">string</td>
                    </tr>
                    <tr>
                        <td class="text-nowrap">user_access_token</td>
                        <td class="text-nowrap">string</td>
                        <td class="text-nowrap">true</td>
                        <td>访问口令，必须用 <mark>MD5</mark> 加密后传输。</td>
                    </tr>
                    <tr>
                        <td class="text-nowrap">pm_type</td>
                        <td class="text-nowrap">string</td>
                        <td class="text-nowrap">true</td>
                        <td>短信类型，in（收件箱）、out（已发送）。</td>
                    </tr>
                    <tr>
                        <td class="text-nowrap">pm_status</td>
                        <td class="text-nowrap">string</td>
                        <td class="text-nowrap">false</td>
                        <td>短信状态，wait（未读）、read（已读）。</td>
                    </tr>
                    <tr>
                        <td class="text-nowrap">pm_ids</td>
                        <td class="text-nowrap">string</td>
                        <td class="text-nowrap">false</td>
                        <td>短信 ID，多个 ID 请用 <kbd>|</kbd> 分隔。</td>
                    </tr>
                    <tr>
                        <td class="text-nowrap">per_page</td>
                        <td class="text-nowrap">int</td>
                        <td class="text-nowrap">false</td>
                        <td>每页列出短信数。</td>
                    </tr>
                    <tr>
                        <td class="text-nowrap">key</td>
                        <td class="text-nowrap">string</td>
                        <td class="text-nowrap">false</td>
                        <td>关键词。</td>
                    </tr>
                </tbody>
            </table>
        </div>
    </div>

    <div>&nbsp;</div>

    <p>
        本接口返回加密字符串，真正内容需要调用密文接口进行解密。详情查看 <a href="{BG_URL_HELP}index.php?mod=api&act=code#decode">密文接口</a>。
    </p>

    <div class="panel panel-default">
        <div class="panel-heading">返回结果</div>
        <div class="table-responsive">
            <table class="table table-bordered">
                <thead>
                    <tr>
                        <th class="text-nowrap">名称</th>
                        <th class="text-nowrap">类型</th>
                        <th>描述</th>
                    </tr>
                </thead>
                <tbody>
                    <tr>
                        <td class="text-nowrap">rcode</td>
                        <td class="text-nowrap">string</td>
                        <td>返回代码，详情查看 <a href="{BG_URL_HELP}index.php?mod=api&act=rcode">返回代码</a>。</td>
                    </tr>
                    <tr>
                        <td class="text-nowrap">code</td>
                        <td class="text-nowrap">string</td>
                        <td>加密字符串，需要解密。详情查看 <a href="{BG_URL_HELP}index.php?mod=api&act=code#decode">密文接口</a>。</td>
                    </tr>
                    <tr>
                        <td class="text-nowrap">prd_sso_ver</td>
                        <td class="text-nowrap">string</td>
                        <td>baigo SSO 版本号。</td>
                    </tr>
                    <tr>
                        <td class="text-nowrap">prd_sso_pub</td>
                        <td class="text-nowrap">string</td>
                        <td>baigo SSO 版本发布时间，格式为年月日。</td>
                    </tr>
                </tbody>
            </table>
        </div>
    </div>

    <div>&nbsp;</div>

    <div class="panel panel-default">
        <div class="panel-heading">解密后的结果</div>
        <div class="table-responsive">
            <table class="table table-bordered">
                <thead>
                    <tr>
                        <th class="text-nowrap">键名</th>
                        <th class="text-nowrap">类型</th>
                        <th class="text-nowrap">说明</th>
                        <th>备注</th>
                    </tr>
                </thead>
                <tbody>
                    <tr>
                        <td class="text-nowrap">pmRows</td>
                        <td class="text-nowrap">array</td>
                        <td class="text-nowrap">短信列表</td>
                        <td>符合搜索条件的所有短信。详情请查看 <a href="#read">读取短信返回结果</a>。</td>
                    </tr>
                    <tr>
                        <td class="text-nowrap">pageRow</td>
                        <td class="text-nowrap">array</td>
                        <td class="text-nowrap">分页参数</td>
                        <td>详情请查看 <a href="{BG_URL_HELP}index.php?mod=api&act=page" target="_blank">分页参数</a>。</td>
                    </tr>
                </tbody>
            </table>
        </div>
    </div>

    <div>&nbsp;</div>
    <div class="text-right">
        <a href="#top">
            <span class="glyphicon glyphicon-chevron-up"></span>
            top
        </a>
    </div>
    <hr>
    <div>&nbsp;</div>

    <a name="read"></a>
    <h3>读取短信</h3>

    <p class="text-success">接口说明</p>
    <p>本接口用于读取已注册用户的信息。</p>

    <p class="text-success">URL</p>
    <p class="text-primary">http://www.domain.com/api/api.php?mod=pm</p>

    <p class="text-success">HTTP 请求方式</p>
    <p>GET</p>

    <p class="text-success">返回格式</p>
    <p>JSON</p>

    <p class="text-success">返回结果是否加密</p>
    <p>是</p>

    <div class="panel panel-default">
        <div class="panel-heading">请求参数</div>
        <div class="table-responsive">
            <table class="table table-bordered">
                <thead>
                    <tr>
                        <th class="text-nowrap">名称</th>
                        <th class="text-nowrap">类型</th>
                        <th class="text-nowrap">必须</th>
                        <th>描述</th>
                    </tr>
                </thead>
                <tbody>
                    <tr>
                        <td class="text-nowrap">act</td>
                        <td class="text-nowrap">string</td>
                        <td class="text-nowrap">true</td>
                        <td>接口调用动作，值只能为 read。</td>
                    </tr>
                    <tr>
                        <td class="text-nowrap">user_id</td>
                        <td class="text-nowrap">int</td>
                        <td rowspan="3">true</td>
                        <td rowspan="3">
                            <p>三选一，优先级为 user_id &gt; user_name &gt; user_mail（作为发送者）</p>
                            <p>其中是否允许邮箱登录，视注册设置情况而定。详情查看 <a href="{BG_URL_HELP}index.php?mod=console&act=opt#reg">注册设置</a>。</p>
                        </td>
                    </tr>
                    <tr>
                        <td class="text-nowrap">user_name</td>
                        <td class="text-nowrap">string</td>
                    </tr>
                    <tr>
                        <td class="text-nowrap">user_mail</td>
                        <td class="text-nowrap">string</td>
                    </tr>
                    <tr>
                        <td class="text-nowrap">user_access_token</td>
                        <td class="text-nowrap">string</td>
                        <td class="text-nowrap">true</td>
                        <td>访问口令，必须用 <mark>MD5</mark> 加密后传输。</td>
                    </tr>
                    <tr>
                        <td class="text-nowrap">pm_id</td>
                        <td class="text-nowrap">int</td>
                        <td class="text-nowrap">true</td>
                        <td>短信 ID</td>
                    </tr>
                </tbody>
            </table>
        </div>
    </div>

    <div>&nbsp;</div>

    <p>
        本接口返回加密字符串，真正内容需要调用密文接口进行解密。详情查看 <a href="{BG_URL_HELP}index.php?mod=api&act=code#decode">密文接口</a>。
    </p>

    <div class="panel panel-default">
        <div class="panel-heading">返回结果</div>
        <div class="table-responsive">
            <table class="table table-bordered">
                <thead>
                    <tr>
                        <th class="text-nowrap">名称</th>
                        <th class="text-nowrap">类型</th>
                        <th>描述</th>
                    </tr>
                </thead>
                <tbody>
                    <tr>
                        <td class="text-nowrap">rcode</td>
                        <td class="text-nowrap">string</td>
                        <td>返回代码，详情查看 <a href="{BG_URL_HELP}index.php?mod=api&act=rcode">返回代码</a>。</td>
                    </tr>
                    <tr>
                        <td class="text-nowrap">code</td>
                        <td class="text-nowrap">string</td>
                        <td>加密字符串，需要解密。详情查看 <a href="{BG_URL_HELP}index.php?mod=api&act=code#decode">密文接口</a>。</td>
                    </tr>
                    <tr>
                        <td class="text-nowrap">prd_sso_ver</td>
                        <td class="text-nowrap">string</td>
                        <td>baigo SSO 版本号。</td>
                    </tr>
                    <tr>
                        <td class="text-nowrap">prd_sso_pub</td>
                        <td class="text-nowrap">string</td>
                        <td>baigo SSO 版本发布时间，格式为年月日。</td>
                    </tr>
                </tbody>
            </table>
        </div>
    </div>

    <div>&nbsp;</div>

    <div class="panel panel-default">
        <div class="panel-heading">解密后的结果</div>
        <div class="table-responsive">
            <table class="table table-bordered">
                <thead>
                    <tr>
                        <th class="text-nowrap">名称</th>
                        <th class="text-nowrap">Base64</th>
                        <th class="text-nowrap">类型</th>
                        <th>描述</th>
                    </tr>
                </thead>
                <tbody>
                    <tr>
                        <td class="text-nowrap">pm_id</td>
                        <td class="text-nowrap">true</td>
                        <td class="text-nowrap">int</td>
                        <td>短信 ID</td>
                    </tr>
                    <tr>
                        <td class="text-nowrap">pm_send_id</td>
                        <td class="text-nowrap">true</td>
                        <td class="text-nowrap">int</td>
                        <td>已发送短信 ID，此字段只有已发送短信具备，用来定义发出的短信 ID。</td>
                    </tr>
                    <tr>
                        <td class="text-nowrap">pm_title</td>
                        <td class="text-nowrap">true</td>
                        <td class="text-nowrap">string</td>
                        <td>标题</td>
                    </tr>
                    <tr>
                        <td class="text-nowrap">pm_content</td>
                        <td class="text-nowrap">true</td>
                        <td class="text-nowrap">string</td>
                        <td>内容</td>
                    </tr>
                    <tr>
                        <td class="text-nowrap">pm_from</td>
                        <td class="text-nowrap">true</td>
                        <td class="text-nowrap">int</td>
                        <td>发送者用户 ID</td>
                    </tr>
                    <tr>
                        <td class="text-nowrap">pm_to</td>
                        <td class="text-nowrap">true</td>
                        <td class="text-nowrap">int</td>
                        <td>接收者用户 ID</td>
                    </tr>
                    <tr>
                        <td class="text-nowrap">pm_status</td>
                        <td class="text-nowrap">true</td>
                        <td class="text-nowrap">string</td>
                        <td>短信状态，可能的值为 wait（未读）、read（已读）。</td>
                    </tr>
                    <tr>
                        <td class="text-nowrap">pm_time</td>
                        <td class="text-nowrap">true</td>
                        <td class="text-nowrap">int</td>
                        <td>发送时间，UNIX 时间戳。</td>
                    </tr>
                    <tr>
                        <td class="text-nowrap">fromUser</td>
                        <td class="text-nowrap">true</td>
                        <td class="text-nowrap">array</td>
                        <td>发送者用户信息，详情查看 <a href="{BG_URL_HELP}index.php?mod=api&act=user#read">用户接口</a>。</td>
                    </tr>
                    <tr>
                        <td class="text-nowrap">toUser</td>
                        <td class="text-nowrap">true</td>
                        <td class="text-nowrap">array</td>
                        <td>接收者用户信息，详情查看 <a href="{BG_URL_HELP}index.php?mod=api&act=user#read">用户接口</a>。</td>
                    </tr>
                </tbody>
            </table>
        </div>
    </div>

    <div>&nbsp;</div>

    <h4>返回结果示例</h4>
    <p>
<pre><code class="language-javascript">{
    &quot;pm_id&quot;: &quot;MTA=&quot;, //短信 ID
    &quot;pm_title&quot;: &quot;Zm9uZQ==&quot;, //标题
    &quot;pm_content&quot;: &quot;Zm9uZUBiYWlnby5uZXQ=&quot;, //内容
    &quot;pm_from&quot;: &quot;MTQ0NjUyNTM1MA==&quot;, //发送者用户 ID
    &quot;pm_to&quot;: &quot;Zm9uZQ==&quot;, //接收者用户 ID
    &quot;pm_status&quot;: &quot;MTIxLjE5OS4xMS4xNjM=&quot; //短信状态
    &quot;pm_time&quot;: &quot;MTM5NDQxNzg3Mg==&quot;, //发送时间
    &quot;fromUser&quot;: { //发送者用户信息
        &quot;user_id&quot;: &quot;MTA=&quot;
        &quot;user_name&quot;: &quot;MTA=&quot;
    },
    &quot;toUser&quot;: { //接收者用户信息
        &quot;user_id&quot;: &quot;MTA=&quot;
        &quot;user_name&quot;: &quot;MTA=&quot;
    },
}</code></pre>
    </p>

    <div>&nbsp;</div>
    <div class="text-right">
        <a href="#top">
            <span class="glyphicon glyphicon-chevron-up"></span>
            top
        </a>
    </div>
    <hr>
    <div>&nbsp;</div>

    <a name="status"></a>
    <h3>更改短信状态</h3>

    <p class="text-success">接口说明</p>
    <p>本接口用于更改短信的阅读状态。</p>

    <p class="text-success">URL</p>
    <p class="text-primary">http://www.domain.com/api/api.php?mod=pm</p>

    <p class="text-success">HTTP 请求方式</p>
    <p>POST</p>

    <p class="text-success">返回格式</p>
    <p>JSON</p>

    <p class="text-success">返回结果是否加密</p>
    <p>否</p>

    <div class="panel panel-default">
        <div class="panel-heading">请求参数</div>
        <div class="table-responsive">
            <table class="table table-bordered">
                <thead>
                    <tr>
                        <th class="text-nowrap">名称</th>
                        <th class="text-nowrap">类型</th>
                        <th class="text-nowrap">必须</th>
                        <th>描述</th>
                    </tr>
                </thead>
                <tbody>
                    <tr>
                        <td class="text-nowrap">act</td>
                        <td class="text-nowrap">string</td>
                        <td class="text-nowrap">true</td>
                        <td>接口调用动作，值只能为 status。</td>
                    </tr>
                    <tr>
                        <td class="text-nowrap">user_id</td>
                        <td class="text-nowrap">int</td>
                        <td rowspan="3">true</td>
                        <td rowspan="3">
                            <p>三选一，优先级为 user_id &gt; user_name &gt; user_mail（作为接收者）</p>
                            <p>其中是否允许邮箱登录，视注册设置情况而定。详情查看 <a href="{BG_URL_HELP}index.php?mod=console&act=opt#reg">注册设置</a>。</p>
                        </td>
                    </tr>
                    <tr>
                        <td class="text-nowrap">user_name</td>
                        <td class="text-nowrap">string</td>
                    </tr>
                    <tr>
                        <td class="text-nowrap">user_mail</td>
                        <td class="text-nowrap">string</td>
                    </tr>
                    <tr>
                        <td class="text-nowrap">user_access_token</td>
                        <td class="text-nowrap">string</td>
                        <td class="text-nowrap">true</td>
                        <td>访问口令，必须用 <mark>MD5</mark> 加密后传输。</td>
                    </tr>
                    <tr>
                        <td class="text-nowrap">pm_ids</td>
                        <td class="text-nowrap">string</td>
                        <td class="text-nowrap">true</td>
                        <td>准备更改状态的短信 ID，多个 ID 请用 <kbd>|</kbd> 分隔。</td>
                    </tr>
                    <tr>
                        <td class="text-nowrap">pm_status</td>
                        <td class="text-nowrap">string</td>
                        <td class="text-nowrap">true</td>
                        <td>准备更改的短信状态，wait（未读）、read（已读）。</td>
                    </tr>
                </tbody>
            </table>
        </div>
    </div>

    <div>&nbsp;</div>

    <div class="panel panel-default">
        <div class="panel-heading">返回结果</div>
        <div class="table-responsive">
            <table class="table table-bordered">
                <thead>
                    <tr>
                        <th class="text-nowrap">名称</th>
                        <th class="text-nowrap">类型</th>
                        <th>描述</th>
                    </tr>
                </thead>
                <tbody>
                    <tr>
                        <td class="text-nowrap">rcode</td>
                        <td class="text-nowrap">string</td>
                        <td>返回代码，详情查看 <a href="{BG_URL_HELP}index.php?mod=api&act=rcode">返回代码</a>。</td>
                    </tr>
                    <tr>
                        <td class="text-nowrap">prd_sso_ver</td>
                        <td class="text-nowrap">string</td>
                        <td>baigo SSO 版本号。</td>
                    </tr>
                    <tr>
                        <td class="text-nowrap">prd_sso_pub</td>
                        <td class="text-nowrap">string</td>
                        <td>baigo SSO 版本发布时间，格式为年月日。</td>
                    </tr>
                </tbody>
            </table>
        </div>
    </div>

    <div>&nbsp;</div>

    <h4>返回结果示例</h4>
    <p>
<pre><code class="language-javascript">{
    &quot;rcode&quot;: &quot;y110103&quot; //返回代码
}</code></pre>
    </p>

    <div>&nbsp;</div>
    <div class="text-right">
        <a href="#top">
            <span class="glyphicon glyphicon-chevron-up"></span>
            top
        </a>
    </div>
    <hr>
    <div>&nbsp;</div>

    <a name="revoke"></a>
    <h3>撤回短信</h3>

    <p class="text-success">接口说明</p>
    <p>本接口用于修改已注册用户的邮箱，根据系统的设置，可能需要通过邮件进行验证，详情查看 <a href="{BG_URL_HELP}index.php?mod=console&act=opt#send">注册设置</a>。</p>

    <p class="text-success">URL</p>
    <p class="text-primary">http://www.domain.com/api/api.php?mod=pm</p>

    <p class="text-success">HTTP 请求方式</p>
    <p>POST</p>

    <p class="text-success">返回格式</p>
    <p>JSON</p>

    <p class="text-success">返回结果是否加密</p>
    <p>否</p>

    <div class="panel panel-default">
        <div class="panel-heading">请求参数</div>
        <div class="table-responsive">
            <table class="table table-bordered">
                <thead>
                    <tr>
                        <th class="text-nowrap">名称</th>
                        <th class="text-nowrap">类型</th>
                        <th class="text-nowrap">必须</th>
                        <th>描述</th>
                    </tr>
                </thead>
                <tbody>
                    <tr>
                        <td class="text-nowrap">act</td>
                        <td class="text-nowrap">string</td>
                        <td class="text-nowrap">true</td>
                        <td>接口调用动作，值只能为 revoke。</td>
                    </tr>
                    <tr>
                        <td class="text-nowrap">user_id</td>
                        <td class="text-nowrap">int</td>
                        <td rowspan="3">true</td>
                        <td rowspan="3">
                            <p>三选一，优先级为 user_id &gt; user_name &gt; user_mail（作为接收者）</p>
                            <p>其中是否允许邮箱登录，视注册设置情况而定。详情查看 <a href="{BG_URL_HELP}index.php?mod=console&act=opt#reg">注册设置</a>。</p>
                        </td>
                    </tr>
                    <tr>
                        <td class="text-nowrap">user_name</td>
                        <td class="text-nowrap">string</td>
                    </tr>
                    <tr>
                        <td class="text-nowrap">user_mail</td>
                        <td class="text-nowrap">string</td>
                    </tr>
                    <tr>
                        <td class="text-nowrap">user_access_token</td>
                        <td class="text-nowrap">string</td>
                        <td class="text-nowrap">true</td>
                        <td>访问口令，必须用 <mark>MD5</mark> 加密后传输。</td>
                    </tr>
                    <tr>
                        <td class="text-nowrap">pm_ids</td>
                        <td class="text-nowrap">string</td>
                        <td class="text-nowrap">true</td>
                        <td>准备撤回的短信 ID，多个 ID 请用 <kbd>|</kbd> 分隔，此处的短信 ID 可从已发送短信的 pm_send_id 字段获得。</td>
                    </tr>
                </tbody>
            </table>
        </div>
    </div>

    <div>&nbsp;</div>

    <div class="panel panel-default">
        <div class="panel-heading">返回结果</div>
        <div class="table-responsive">
            <table class="table table-bordered">
                <thead>
                    <tr>
                        <th class="text-nowrap">名称</th>
                        <th class="text-nowrap">类型</th>
                        <th>描述</th>
                    </tr>
                </thead>
                <tbody>
                    <tr>
                        <td class="text-nowrap">rcode</td>
                        <td class="text-nowrap">string</td>
                        <td>返回代码，详情查看 <a href="{BG_URL_HELP}index.php?mod=api&act=rcode">返回代码</a>。</td>
                    </tr>
                    <tr>
                        <td class="text-nowrap">prd_sso_ver</td>
                        <td class="text-nowrap">string</td>
                        <td>baigo SSO 版本号。</td>
                    </tr>
                    <tr>
                        <td class="text-nowrap">prd_sso_pub</td>
                        <td class="text-nowrap">string</td>
                        <td>baigo SSO 版本发布时间，格式为年月日。</td>
                    </tr>
                </tbody>
            </table>
        </div>
    </div>

    <div>&nbsp;</div>

    <h4>返回结果示例</h4>
    <p>
<pre><code class="language-javascript">{
    &quot;rcode&quot;: &quot;y110104&quot; //返回代码
}</code></pre>
    </p>

    <div>&nbsp;</div>
    <div class="text-right">
        <a href="#top">
            <span class="glyphicon glyphicon-chevron-up"></span>
            top
        </a>
    </div>
    <hr>
    <div>&nbsp;</div>

    <a name="del"></a>
    <h3>删除短信</h3>

    <p class="text-success">接口说明</p>
    <p>本接口用于删除已注册用户。</p>

    <p class="text-success">URL</p>
    <p class="text-primary">http://www.domain.com/api/api.php?mod=pm</p>

    <p class="text-success">HTTP 请求方式</p>
    <p>POST</p>

    <p class="text-success">返回格式</p>
    <p>JSON</p>

    <p class="text-success">返回结果是否加密</p>
    <p>否</p>

    <div class="panel panel-default">
        <div class="panel-heading">请求参数</div>
        <div class="table-responsive">
            <table class="table table-bordered">
                <thead>
                    <tr>
                        <th class="text-nowrap">名称</th>
                        <th class="text-nowrap">类型</th>
                        <th class="text-nowrap">必须</th>
                        <th>描述</th>
                    </tr>
                </thead>
                <tbody>
                    <tr>
                        <td class="text-nowrap">act</td>
                        <td class="text-nowrap">string</td>
                        <td class="text-nowrap">true</td>
                        <td>接口调用动作，值只能为 del。</td>
                    </tr>
                    <tr>
                        <td class="text-nowrap">user_id</td>
                        <td class="text-nowrap">int</td>
                        <td rowspan="3">true</td>
                        <td rowspan="3">
                            <p>三选一，优先级为 user_id &gt; user_name &gt; user_mail（作为接收者）</p>
                            <p>其中是否允许邮箱登录，视注册设置情况而定。详情查看 <a href="{BG_URL_HELP}index.php?mod=console&act=opt#reg">注册设置</a>。</p>
                        </td>
                    </tr>
                    <tr>
                        <td class="text-nowrap">user_name</td>
                        <td class="text-nowrap">string</td>
                    </tr>
                    <tr>
                        <td class="text-nowrap">user_mail</td>
                        <td class="text-nowrap">string</td>
                    </tr>
                    <tr>
                        <td class="text-nowrap">user_access_token</td>
                        <td class="text-nowrap">string</td>
                        <td class="text-nowrap">true</td>
                        <td>访问口令，必须用 <mark>MD5</mark> 加密后传输。</td>
                    </tr>
                    <tr>
                        <td class="text-nowrap">pm_ids</td>
                        <td class="text-nowrap">string</td>
                        <td class="text-nowrap">true</td>
                        <td>准备删除的短信 ID，多个 ID 请用 <kbd>|</kbd> 分隔。。</td>
                    </tr>
                </tbody>
            </table>
        </div>
    </div>

    <div>&nbsp;</div>

    <div class="panel panel-default">
        <div class="panel-heading">返回结果</div>
        <div class="table-responsive">
            <table class="table table-bordered">
                <thead>
                    <tr>
                        <th class="text-nowrap">名称</th>
                        <th class="text-nowrap">类型</th>
                        <th>描述</th>
                    </tr>
                </thead>
                <tbody>
                    <tr>
                        <td class="text-nowrap">rcode</td>
                        <td class="text-nowrap">string</td>
                        <td>返回代码，详情查看 <a href="{BG_URL_HELP}index.php?mod=api&act=rcode">返回代码</a>。</td>
                    </tr>
                    <tr>
                        <td class="text-nowrap">prd_sso_ver</td>
                        <td class="text-nowrap">string</td>
                        <td>baigo SSO 版本号。</td>
                    </tr>
                    <tr>
                        <td class="text-nowrap">prd_sso_pub</td>
                        <td class="text-nowrap">string</td>
                        <td>baigo SSO 版本发布时间，格式为年月日。</td>
                    </tr>
                </tbody>
            </table>
        </div>
    </div>

    <div>&nbsp;</div>

    <h4>返回结果示例</h4>
    <p>
<pre><code class="language-javascript">{
    &quot;rcode&quot;: &quot;y110104&quot; //返回代码
}</code></pre>
    </p>